package com.example.miaosha1.redis;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Service;

import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;

@Service
public class RedisService {

	public <T> T get(String key, Class<T> clazz) {
		JedisPool jp = null;
		Jedis jedis = jp.getResource();
		
		
	}
	
	@Bean
	public JedisPool JedisFactory() {
		JedisPool poolConfig = new JedisPool();
		
	}
}
